using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartLink.DTOS.SysBasic
{
    /// <summary>
    /// 系统功能模块
    /// </summary>
    public class SysModuleDTO
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public int? ParentID { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        [Required]
        public string Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Required]
        public string Name { get; set; }

        /// <summary>
        /// 前端地址
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 前端图标
        /// </summary>
        public string IconName { get; set; }

        /// <summary>
        /// 启用标志
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 排序码
        /// </summary>
        public int? Sort { get; set; }
    }
}
